package com.baidu.networkdemo.api

import com.baidu.networkdemo.model.Movies
import retrofit2.Response
import retrofit2.http.Query

class Repository {
    suspend fun getMovies(index:Int): Response<Movies>{
        return MovieApiInstance.api.getMovies(index)
    }
}